package com.jia.lidao.others.enity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by 00029935 on 2017/12/6.
 */

public class Channels {

    /**
     * err_code : 0
     * err_msg : OK
     * timestamp : 1512567532
     * payment_channels : [{"payment_channel_id":1,"icon":"","name":"支付宝支付"},{"payment_channel_id":2,"icon":"","name":"微信支付"},{"payment_channel_id":3,"icon":"","name":"银联支付"},{"payment_channel_id":4,"icon":"","name":"现金支付"},{"payment_channel_id":5,"icon":"","name":"线下打款"},{"payment_channel_id":6,"icon":"","name":"农资贷"}]
     */

    private int err_code;
    private String err_msg;
    private int timestamp;
    private List<PaymentChannelsBean> payment_channels;

    public int getErr_code() {
        return err_code;
    }

    public void setErr_code(int err_code) {
        this.err_code = err_code;
    }

    public String getErr_msg() {
        return err_msg;
    }

    public void setErr_msg(String err_msg) {
        this.err_msg = err_msg;
    }

    public int getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(int timestamp) {
        this.timestamp = timestamp;
    }

    public List<PaymentChannelsBean> getPayment_channels() {
        return payment_channels;
    }

    public void setPayment_channels(List<PaymentChannelsBean> payment_channels) {
        this.payment_channels = payment_channels;
    }

    public static class PaymentChannelsBean implements Serializable{
        /**
         * payment_channel_id : 1
         * icon :
         * name : 支付宝支付
         */

        private int payment_channel_id;
        private String icon;
        private String name;
        public boolean isChecked = false;
        public String value ="";
        public int getPayment_channel_id() {
            return payment_channel_id;
        }

        public void setPayment_channel_id(int payment_channel_id) {
            this.payment_channel_id = payment_channel_id;
        }

        public String getIcon() {
            return icon;
        }

        public void setIcon(String icon) {
            this.icon = icon;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }
    }
}
